package com.stox.ui.javafx.charting.draw.shape;

import com.stox.ui.javafx.charting.widget.ResizableCanvas;

public abstract class AbstractLine extends AbstractShape{

	private final ControlPoint point;

	public AbstractLine(ResizableCanvas canvas) {
		super(canvas);
		point = new ControlPoint(canvas);
	}
	
	public ControlPoint getPoint() {
		return point;
	}

	@Override
	public void update() {
		if(null != point){
			point.update();
		}
	}
	
}
